import pytest
from selenium.webdriver.common.by import By

from base.base_action import BaseAction


class IndexPage(BaseAction):
    me_button = By.XPATH, "//*[@text='我']"
    setting_button = By.ID, "com.yunmall.lc:id/ymtitlebar_left_btn_image"

    def click_me(self):
        self.click(self.me_button)

    def click_setting(self):
        self.click(self.setting_button)




